<div class="col-lg-12">
    <section class="panel">
        <header class="panel-heading">
            角色授权
        </header>
        <div class="panel-body">
            <section id="no-more-tables">
                <ul>
                    <li class="list-unstyled">
						<div class="row" ng-repeat="menu in authoriyList">
							<div class="col-lg-2" ng-hide="menu.m_ideas==''" >
								<div class="checkbox">
			                        <label>
			                            <input type="checkbox" value="{{menu.m_ideas}}"
			                             ng-checked="menuChecked_{{menu.id}}" name="menuIds" id="{{menu.id}}"/> 
			                            <span ng-bind="menu.m_name"></span>
			                        </label>
			                    </div>
							</div>
							<div class="col-lg-2" ng-repeat="authority in menu.permissionList">
								<div class="checkbox">
			                        <label>
			                            <input type="checkbox" value="{{authority.id}}" name="permissionIds" ng-checked="perChecked_{{authority.id}}"  id="{{authority.id}}" role="{{menu.id}}"/> 
			                            <span ng-bind="authority.p_name"></span>
			                        </label>
			                    </div>
							</div>
						</div>
                    </li>
                    <!-- 结束 -->
                    <li class="list-unstyled">
                        <div class="m_title_left ">
                            <div class="checkbox check-transparent">
                                <input type="checkbox" value="" name="all" id="all" ng-click="all()"/>
                                <label for="all">全选</label>
                            </div>
                        </div>
                        <div class="m_title_right">
                            <div class="m_content_right margin-top-3">
                                <button class="btn btn-primary" ng-click="roleAuthority()">保存</button>
                                <button type="button" class="btn btn-default" ng-click="back()">返回</button>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </li>
                </ul>
            </section>
        </div>
    </section>
</div>